TELGetInfo
Gets information about a terminal and tool.
pascal TELErr TELGetInfo (TELHandle hTEL);
hTEL
- A handle to a telephone record associated with a telephone terminal.
- function result
- A result code.
DESCRIPTION
TheTELGetInfo
function returns, in thehTEL
parameter, state and feature information about the telephone terminal and telephone tool specified by thehTEL
parameter. The Telephone Manager passes the specified telephone record to the tool specified by theprocID
field of that record; that tool then inspects the terminal reference number (contained in thetRef
field of telephone terminal record specified by thepTELTerm
field ofhTEL
) and fills in the record with the appropriate information. The information returned byTELGetInfo
is a snapshot of the current state of the telephone terminal and tool. That information may become stale as subsequent operations are performed on the terminal or tool.If
hTEL
is invalid,TELGetInfo
returns the result codetelBadTermErr
; in that case, you should dispose of the invalid telephone record by callingTELDispose
.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help